home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TRCHANGES User Commands TRCHANGES
-
-
-
- CCOOMMMMAANNDD LLIINNEE AARRGGUUMMEENNTTSS
- The argument --PP_x_x_x loads parameters and character defini-
- tions for typesetter _x_x_x, which at the moment is typically
- one of _p_s_c (PostScript), _i_p (imagen), _v_a (varian), _v_p (ver-
- satec) or _t_e_r (terminal or printer).
-
- --FF_y_y_y causes font information to be loaded from directory
- _y_y_y instead of the default //sspprriittee//lliibb//ddiittrrooffff//ddeevv_x_x_x.
-
- GGRRAAPPHHIICCSS CCOOMMMMAANNDDSS
- The most significant new facility is the ability to draw
- simple graphical objects - diagonal lines, circles,
- ellipses, arcs, splines, and filled polygons - in TROFF .
-
- The new graphical commands are
-
- \D'l _d_h _d_v'
- draw line from current position by _d_h, _d_v
- \D'c _d'
- draw circle of diameter _d with left side at current position
- \D'e _d_1 _d_2'
- draw ellipse of diameters _d_1 _d_2
- \D'a _d_h_1 _d_v_1 _d_h_2 _d_v_2'
- draw arc counter-clockwise from current position to _d_h_1+_d_h_2
- _d_v_1+_d_v_2, with center at _d_h_1 _d_v_1 from current position
- \D'~ _d_h_1 _d_v_1 _d_h_2 _d_v_2 ...'
- draw B-spline from current position by _d_h_1 _d_v_1
- then by _d_h_2, _d_v_2, then by _d_h_3, _d_v_3, then ...
- \D'g _d_h_1 _d_v_1 _d_h_2 _d_v_2 ...'
- same as \D'~ _d_h_1 ...' except the gremlin spline
- algorithm is used.
- \D'p _n _d_h_1 _d_v_1 _d_h_2 _d_v_2 ...'
- draw polygon using stipple _n from current stipple font
- starting at current position by _d_h_1 _d_v_1 then by _d_h_2, _d_v_2,
- then by _d_h_3, _d_v_3, then ...
- \D'P _n _d_h_1 _d_v_1 _d_h_2 _d_v_2 ...'
- same as \D'p _n _d_h_1 ...' except no border is printed.
- \D't _d'
- set line thickness to _d (set to 3 units at startup).
- The default units are ems, so _d must be given in _u
- units if a number of pixels is needed.
- \D's _d'
- set line style to _d (set to -1 at startup). The value is
- taken as a coordinate mask on the individual bits of the line.
- The default units are ems, so _d must be given in _u units.
-
- The position after a graphical object has been drawn is at
- its ``end'', where for circles and ellipses, the end is at
- the right side. As with other commands, default units are
- ems horizontally and line spaces vertically.
-
- Realistically, these commands are not intended for direct
-
-
-
- Sprite v1.0 1
-
-
-
-
-
-
- TRCHANGES User Commands TRCHANGES
-
-
-
- use, but for preprocessors like PIC, IDEAL, and GRN.
-
- OOtthheerr nneeww ccoommmmaannddss
- ..ssyy _c_o_m_m_a_n_d_l_i_n_e executes the command, then returns. Output
- is not captured anyplace.
-
- ..ccff _f_i_l_e copies _f_i_l_e into the TROFF output file at this
- point, uninterpreted. Havoc ensues unless the motions in
- the file restore current horizontal and vertical position.
- This command hasn't been used much, and is probably a bad
- idea anyway.
-
- ..ppii _p_r_o_g_r_a_m (pipe the output into _p_r_o_g_r_a_m) now works in
- TROFF as well as NROFF, since it makes somewhat more sense
- to allow it.
-
- ..sstt _s_t_i_p_p_l_e__f_o_n_t loads _s_t_i_p_p_l_e__f_o_n_t as the current font used
- to fill polygons, with each polygon command selecting one
- pattern number from the font. The available stipple fonts
- are listed in the "font" manual page.
-
- The number register $$$$ contains the process id of the TROFF
- process.
-
- The string ..TT contains the name of the current typesetter
- (e.g., _p_s_c, _v_a, _v_p, _i_p).
-
- The ..fftt command causes the named font to be loaded on font
- position 0 (which is in all other ways inaccessible) if the
- font exists and is not currently mounted by default or by a
- ..ffpp command. The font must be still or again in position 0
- when the line is printed.
-
- Transparent mode (\!) has been fixed so that transparent
- output actually appears in the output; thus special commands
- can be passed through to postprocessors by witchcraft like
-
- .if "\*(.T"psc" \!x ...
-
- (If this makes no sense to you, you shouldn't be using it
- anyway.)
-
- DDeelleettiioonnss
- The ..ffzz and ..llii commands are no more. The --pp, --gg and ++nn
- command line arguments have also been eliminated, as has the
- hhpp number register.
-
-
-
-
-
-
-
-
-
- Sprite v1.0 2
-
-
-
-